package com.sgb.kjwl.model.entity.self;

import android.os.Build;
import androidx.annotation.RequiresApi;

import java.io.Serializable;
import java.util.Objects;

/**
 * Created by WYJ on 2020/8/13.
 */
public class SelfTeamAchieveEntity implements Serializable {


    /**
     * owner : 读书方法反反复复反反复复
     * no : 202005151266892
     * address : 天津天津市
     * cityName : 天津市
     * districtName :
     * startTime : 1588435200
     * id : 193
     * endTime : 1589731200
     * provinceName : 天津
     * projectName : 第三方的防守对方上的放松的方式的
     */

    private Long id;
    private String no;
    private String teamNo;
    //("项目名称")
    private String projectName;
    //("业主/总包单位")
    private String owner;
    //("开工时间")
    private Long startTime;
    //("竣工时间")
    private Long endTime;
    //("项目描述")
    private String projectDescribe;
    //("详细地址")
    private String projectPlace = "";
    //("所在省")
    private String provinceName;
    //("所在省编号")
    private String provinceNo;
    //("所在市")
    private String cityName;
    //("所在市编号")
    private String cityNo;
    //("所在区")
    private String districtName;
    //("所在区编号")
    private String districtNo;
    private String areaNo;
    private String areaName;
    //("施工内容")
    private String construction;
    //("证明材料")
//     private List<EvidenceDTO> evidences;
    //("创建时间")
    private String createTime;

    //("联系人")
    private String contact;

    //("联系人电话")
    private String contactPhone;

    private String address;

    private String evidencesImg;

    private String evidencesVideo;

    private String businessDescription;

    private String mainBusiness;

    public String getBusinessDescription() {
        return businessDescription;
    }

    public void setBusinessDescription(String businessDescription) {
        this.businessDescription = businessDescription;
    }

    public String getMainBusiness() {
        return mainBusiness;
    }

    public void setMainBusiness(String mainBusiness) {
        this.mainBusiness = mainBusiness;
    }

    public String getAreaNo() {
        return areaNo;
    }

    public void setAreaNo(String areaNo) {
        this.areaNo = areaNo;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    //设置选中状态
    private boolean islooks = false;

    public boolean isIslooks() {
        return islooks;
    }

    public void setIslooks(boolean islooks) {
        this.islooks = islooks;
    }

    private String evidencesVideoPlayUrl; // 详情也播放视频字段

    public String getEvidencesVideoPlayUrl() {
        return evidencesVideoPlayUrl;
    }

    public void setEvidencesVideoPlayUrl(String evidencesVideoPlayUrl) {
        this.evidencesVideoPlayUrl = evidencesVideoPlayUrl;
    }


    public String getEvidencesImg() {
        return evidencesImg;
    }

    public void setEvidencesImg(String evidencesImg) {
        this.evidencesImg = evidencesImg;
    }

    public String getEvidencesVideo() {
        return evidencesVideo;
    }

    public void setEvidencesVideo(String evidencesVideo) {
        this.evidencesVideo = evidencesVideo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getTeamNo() {
        return teamNo;
    }

    public void setTeamNo(String teamNo) {
        this.teamNo = teamNo;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getProjectDescribe() {
        return projectDescribe;
    }

    public void setProjectDescribe(String projectDescribe) {
        this.projectDescribe = projectDescribe;
    }

    public String getProjectPlace() {
        return projectPlace;
    }

    public void setProjectPlace(String projectPlace) {
        this.projectPlace = projectPlace;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getDistrictNo() {
        return districtNo;
    }

    public void setDistrictNo(String districtNo) {
        this.districtNo = districtNo;
    }

    public String getConstruction() {
        return construction;
    }

    public void setConstruction(String construction) {
        this.construction = construction;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SelfTeamAchieveEntity that = (SelfTeamAchieveEntity) o;
        return no.equals(that.no);
    }

    @RequiresApi(api = Build.VERSION_CODES.KITKAT)
    @Override
    public int hashCode() {
        return Objects.hash(no);
    }
}
